<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>欢迎注册</title>
    <link href="css/register.css" rel="stylesheet">
    <!-- Bootstrap 的 CSS 文件 -->
    <link rel="stylesheet" type="text/css"
          href="./bootstrap-3.4.1-dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="./bootstrap-3.4.1-dist/css/font-awesome.min.css">
    <!-- 选项 1：jQuery 和 Bootstrap 集成包（集成了 Popper） -->
    <script src="./bootstrap-3.4.1-dist/js/jquery-3.6.0.min.js"></script>
    <script src="./bootstrap-3.4.1-dist/js/bootstrap.bundle.min.js"></script>
</head>
<body>
<div class="form-div">
    <div class="reg-content">
        <h1>欢迎注册</h1>
        <span>已有帐号？</span> <a href="login.html">登录</a>
    </div>
    <form id="reg-form" action="register.let" method="post">
        <table>
            <tr>
                <td></td>
                <td class="inputs">
                    <input name="adminName" type="text" placeholder="用户名">
                <tr>
            <span style="color: red;position: relative;top: 5rem;left: 5rem">${name}</span>
            <span style="color: red;position: relative;top: 5rem;left: 5rem">${username}</span>
            <span style="color: red;position: relative;top: 5rem;left: 5rem">${usernameLength}</span>
            </tr>

            <tr>
                <td></td>
                <td class="inputs">
                    <input name="adminPassword" type="password" placeholder="密码">
                </td>
            <tr>
                <span style="color: red;position: relative;top: 11rem;left: 5rem">${pwd}</span>
            <span style="color: red;position: relative;top: 11rem;left: 5rem">${pwdLength}</span>
            </tr>

            <tr>
                <td></td>
                <td class="inputs">
                    <input name="adminTime" type="date" class="time">
                </td>
            </tr>
        </table>

        <div class="buttons">
            <input value="注 册" type="submit" class="reg_btn" style="margin-left: 10rem;">
        </div>
        <br class="clear">
    </form>
</div>
</body>
</html>

